package com.minio.service;


import org.springframework.web.multipart.MultipartFile;
import java.util.List;
import java.util.Map;

public interface MinIOService {
    /**
     * 上传文件
     * @param fileMap
     * @param bucket
     * @param path
     * @return
     * @throws Exception
     */
    Map<String,String> upFile(Map<String, List<MultipartFile>> fileMap, String bucket, String path) throws Exception;

    /**
     * 网络文件
     * @param netFileMap
     * @return
     */
    Map<String, String> netFile(Map<String, List<String>> netFileMap, String bucket, String path) throws Exception;
    Map<String, String> netFile(Map<String, List<String>> netFileMap, String bucket, String path,String origin) throws Exception;
}
